<?php
    if(!isset($_SESSION['login'])){			
    ?>
    <!DOCTYPE a PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <script type="text/javascript">	
                alert('Debe loguearse');
                document.location.href = "http://localhost/gonow/admin/login.php";
            </script>
        </head>
        <body>
        </body>
    </html>
    <?php
    exit (0);
    }
?>